Generic configuration files
Workers can maintain configuration files that change their behavior in the database. The files are read each time the worker runs. This allows changing the work performed without restarting the Heroku instance each time a static file is updated.
Following is a list of the current configuration files.
external-wallets(externalWalletsWorker)
Edit a configuration file.
- Login to the Centurion UI as an admin.
- Select Configuration files from the sidebar menu.
- Select the desired file name from the pick list.
- Make desired changes to the JSON file and save.
Create a configuration file
The Centurion UI only edits an existing configuration file. To add a file use psql after connecting to the database.
insert into CONFIGURATIONS (name) VALUES ('file-name>');
Delete a configuration file
The Centurion UI only edits an existing configuration file. To delete a file use psql after connecting to the database.
delete from CONFIGURATIONS where name = '<file-name>';